0f8966ae90fb84e38213fe3c1914ef8bbc74b215,src/net/java/sip/communicator/impl/notification/NotificationManager.java,NotificationManager,fireChatNotification,#Object#String#String#String#,557
Before Change
if (chatRoom.isSystem())
return;
chatPanel = NotificationActivator.getUIService().getChat(chatRoom);
}
if (chatPanel != null)
After Change
return;
NotificationActionHandler popupActionHandler = null;
UIService uiService = NotificationActivator.getUIService();
Chat chatPanel = null;
byte[] contactIcon = null;
if (chatContact instanceof Contact)
{
Contact contact = (Contact) chatContact;
if(uiService != null)
chatPanel = uiService.getChat(contact);
contactIcon = contact.getImage();
if(contactIcon == null)
{
contactIcon =
ImageUtils.toByteArray(getImage(DEFAULT_USER_PHOTO));
}
}
else if (chatContact instanceof ChatRoom)
{
ChatRoom chatRoom = (ChatRoom) chatContact;
// For system rooms we don't want to send notification events.
if (chatRoom.isSystem())
return;
if(uiService != null)
chatPanel = uiService.getChat(chatRoom);
}